from django.db import models

# Create your models here.

from django.db import models

class NewsAgg(models.Model):
    objects = models.Manager()
    
    title = models.CharField(max_length=255)
    sub_title = models.CharField(max_length=255)
    category = models.CharField(max_length=255)
    author = models.CharField(max_length=255)
    source = models.CharField(max_length=255)

    summary = models.TextField()
    image_url = models.TextField()
    content_url = models.TextField()

    create_time = models.DateTimeField()
    update_time = models.DateTimeField()
